package com.xxr.mom.ci.charging.interworking.json;

import lombok.Data;

/**
 * 同步设备进度
 *
 * @description: SynchronizeDeviceSchedule
 * @date: 2024/8/21 20:59
 * @author: natsuki_kining
 * @version: 1.0
 */
@Data
public class SynchronizeDeviceSchedule {
    private Integer currentIndex;
    private Integer totalSize;
    private Boolean isDone = false;
    private String synchronizeInfo;

    public SynchronizeDeviceSchedule(Integer currentIndex, Integer totalSize) {
        this.currentIndex = currentIndex;
        this.totalSize = totalSize;
    }

    public SynchronizeDeviceSchedule(Integer currentIndex, Integer totalSize, Boolean isDone, String synchronizeInfo) {
        this.currentIndex = currentIndex;
        this.totalSize = totalSize;
        this.isDone = isDone;
        this.synchronizeInfo = synchronizeInfo;
    }
}
